package com.example.demo.dto;

import lombok.Data;
import org.json.simple.JSONObject;

@Data
public class Item_list {
    private String item;
    private String itemstring;
    private Itemcoord itemcoords;
    private Word word;
    public Item_list(JSONObject object){
        item = (String)object.get("item");
        itemstring = (String)object.get("itemstring");
        itemcoords = (Itemcoord)object.get("itemcoords");
        word = (Word)object.get("word");
    }
}
